package com.jkm.mapper.write;

import com.jkm.model.User;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * Created by 四声草 on 2018/3/27.
 */
public interface WriteUserMapper extends Mapper<User> {

    int save(User user);

    User selectById(Long id);

    List<User> selectAll();

    int updateUser(User user);

    void deleteUser(Long id);
}
